<div class="divmain">
<table width="100%" id="frmmenuag_tblinfo" class="tblInfo">
<tr>
<td valign="top" class="width25 clsleft"  >
<div >
<table class="info" id="frmmenuag_info">
<tr><td>
<div id="frmmenuag_divleft" class="divleft">

<table class="width100">
<tr>
<td class='lblRequired width35'>Tiếng Việt</td><td ><input type="text"  id="frmmenuag_txtViMenu"  class="txtRequired" /></td>
</tr>
<tr >
<td class='lblRequired'>Tiếng Anh</td><td ><input type="text"  id="frmmenuag_txtEnMenu"  class="txtRequired" /></td>
</tr>
<tr >
<td class='lblRequired'> Icon</td><td ><input type="text"  id="frmmenuag_txtIcon" class="txtRequired" /></td>
</tr>
<tr >
<td class='lblRequired'>Thứ tự</td><td ><input type="text"  id="frmmenuag_txtOrdershow" class="txtRequired"  value="1" /></td>
</tr>

<!--<tr >
<td class='lblRequired'>Menu Khách hàng</td><td ><input type="checkbox"  id="frmmenuag_chkis-cus-menu"  value="1" /></td>
</tr>-->
</table>

<table class="width100">
<tr>
<td >
<input type="checkbox" class="chkbox" onchange="fn_CheckAll(this.id,'frmmenuag_chkpower')" id="frmmenuag_chkAllPower" checked="checked" />Tất cả &nbsp;&nbsp;&nbsp;
<div id="frmmenuag_Powers"></div>
</td>
</tr>
 
</table>

 <div class="divactionbuton">
<input type="hidden" id='frmmenuag_hdEdit' value="0"/>
<input type="hidden" id='frmmenuag_hdId' value=""/>
<button class="save validate button11" id="frmmenuag_submit" type="button"> Lưu </button> <button class="clear button11" type="reset" id="frmmenuag_clear"> Nhập Lại </button></div>
</div>
</td></tr>
 </table>
</div>
</td>
<td class="clsmiddle"></td>
<td valign="top" class="width60">
<div class="divGrid" id="frmmenuag_divGrid">
</div></td>
<td class="clsend"></td>
</tr>
</table>
</div>
<script language="javascript">


$(document).ready(function () {
    initForm('frmmenuag_tblinfo');
    $('#frmmenuag_chkMenu-dactrung').live('click',function(){
        
    }); 
    $('#frmmenuag_chkis-cus-menu').live('click',function(){
        if($(this).attr('checked')){
            $('#frmmenuag_power-see').hide();
            $('#frmmenuag_cus-option').show();
            
        }else{
            $('#frmmenuag_power-see').show();
            $('#frmmenuag_cus-option').hide();
        }
    });
});

function setPower(id){
    $('INPUT[name=frmmenuag_chkpower]').each(function(){
            $(this).attr('checked',false)
        });
    var arrId = id.split(",");  
    for(i=0;i<arrId.length;i++){
        $('#frmmenuag_chkpower'+arrId[i]).attr('checked',true);
    }
}

initDivleft();
changeWaiting(0);
xajax_frmmenuag_initPage();
xajax_frmmenuag_loadGrid();
</script>
